{extend name="../view/admin/base.html" /}
{block name="body"}
<div class="panel panel-default">
    <div class="panel-body">
        <form id="form">
            <div class="form-group">
                <label>导航名称</label>
                <input type="text" class="form-control" name="name">
            </div>
            <div class="form-group">
                <label>图标</label>
                {:hook('photo_hook',['name'=>'image'])}
            </div>
            <div class="form-group">
                <label>排序</label>
                <input type="number" class="form-control" name="sort" value="0">
            </div>
            <div class="form-group">
                <label>跳转模块</label>
                <input type="text" class="form-control" name="url">
                <small class="text-danger">可填写url地址或者模块名称</small>
            </div>
            <div class="form-group">
                <label>介绍</label>
                <input type="text" class="form-control" name="desc">
            </div>
            <div class="form-group">
                <label>状态</label><br>
                <label class="checkbox c-checkbox c-checkbox-rounded">
                    <input type="radio" name="status" value="1" checked="">
                    <span class="fa fa-check"></span>显示
                </label>
                <label class="checkbox c-checkbox c-checkbox-rounded">
                    <input type="radio" name="status" value="-1">
                    <span class="fa fa-check"></span>隐藏
                </label>
            </div>
            <button class="btn btn-info" type="submit">提交</button>
        </form>
    </div>
</div>
{/block}
{block name="script"}
{:hook('photo_script_hook')}
{/block}